
def row0_0_f ( ):
    global xrn_main_window_global
    slayout_local = xrn_main_window_global.jlayout_str

    obj = get_from_layout ( slayout_local, "combobox_with_function" )
    if ( obj != None ) :
        arg = obj["fields"][2]["selection"]
        selection = 0
        if ( arg == "1" ) :
            selection = 1
        elif ( arg == "0" ) :
            selection = 0

        slayout_local = row0_0_f_backend ( slayout_local, selection )
        render_layout(  slayout_local )

    return 0 

def button0_1_f ( ):
    global xrn_main_window_global
    slayout_local = xrn_main_window_global.jlayout_str

    obj = get_from_layout ( slayout_local, "combobox_without_function" )
    combobox_sel = obj["fields"][2]["selection"]
    print("selection in combobox button 0 " + combobox_sel )

def button0_2_f ( ):
    global xrn_main_window_global
    slayout_local = xrn_main_window_global.jlayout_str

    obj = get_from_layout ( slayout_local, "combobox_without_function" )
    combobox_sel = obj["fields"][2]["selection"]
    print("selection in combobox button 1 " + combobox_sel )

def string3_f ( ):
    global xrn_main_window_global
    slayout_local = xrn_main_window_global.jlayout_str

    obj = get_from_layout ( slayout_local, "string3" )
    string_to_print = obj["fields"][2]["display"]
    print("written string " + string_to_print )

